﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace UtilsORM.FileServerData;

[MySqlCharSet("utf8mb3")]
[MySqlCollation("utf8mb3_general_ci")]
public partial class bs_client_product_bak
{
    [Key]
    public long cp_id { get; set; }

    /// <summary>
    /// 系统编码
    /// </summary>
    [StringLength(50)]
    public string cp_systemcode { get; set; }

    /// <summary>
    /// 产品ID
    /// </summary>
    [StringLength(50)]
    public string cp_product_guid { get; set; }

    [Column(TypeName = "datetime")]
    public DateTime? cp_add_time { get; set; }

    /// <summary>
    /// 0有效，1无效
    /// </summary>
    public int? cp_status { get; set; }

    [StringLength(50)]
    public string cp_guid { get; set; }

    /// <summary>
    /// 产品名称
    /// </summary>
    [StringLength(50)]
    public string cp_name { get; set; }

    /// <summary>
    /// 客户ID
    /// </summary>
    [StringLength(50)]
    public string cp_c_guid { get; set; }

    /// <summary>
    /// 远程IP地址
    /// </summary>
    [StringLength(50)]
    public string cp_ip { get; set; }

    [Column(TypeName = "datetime")]
    public DateTime? cp_live_state_set_time { get; set; }
}
